﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Gnosis.Babel;

namespace Gnosis.SQLite.Clauses
{
    public class JoinSource
        : Expression, ISource
    {
        public JoinSource(ISource source, JoinOperator op, ISource table, JoinConstraint constraint)
            : base(new List<IExpression> { source, op, table, constraint } )
        {
        }

        public IInteger LastInsertedId
        {
            get { return new LastInsertRowId(); }
        }
    }
}
